package com.rogue.blog.model.vo.article;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * Created by 86101 on 2018-10-18.
 */
@ApiModel(description = "文章视图对象")
@Getter
@Setter
public class ArticleVO {
    @ApiModelProperty(value = "文章ID")
    private long articleId;
    @ApiModelProperty(value = "文章名称")
    private String articleName;
    @ApiModelProperty(value = "文章更新时间")
    private Date articleTime;
    @ApiModelProperty(value = "文章内容")
    private String articleContent;
    @ApiModelProperty(value = "文章点击量", allowEmptyValue = true)
    private int articleClick;
    @ApiModelProperty(value = "文章简介", allowEmptyValue = true)
    private String articleDescription;
    @ApiModelProperty(value = "文章分类")
    private long articleCategory;
    @ApiModelProperty(value = "文章来源，original:原创，reprint:转载")
    private String articleOrigin;
}
